package com.jade.platform.admin.api.entity.request;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * UserInfoAddReq 新增参数类 
 * @author Arnold 
 * @version 2022/07/07 19:42
**/
@Data
public class UserInfoAddReq implements Serializable {

    private static final long serialVersionUID = 4479952469632395293L;
    /**
     * 账号
     */
    @NotBlank(message = "帐号不能为空")
    private String userName;

    /**
     * 姓名
     */
    @NotBlank(message = "姓名不能为空")
    private String fullName;

    /**
     * 手机号
     */
    @NotBlank(message = "手机号不能为空")
    private String mobile;

    /**
     * 邮箱
     */
    @NotBlank(message = "邮箱不能为空")
    private String email;

    /**
     * 密码
     */
    @NotBlank(message = "密码不能为空")
    private String userPassword;

    /**
     * 状态 1：启用 0：禁用
     */
    @NotNull(message = "状态不能为空")
    private Integer userStatus;
}
